package com.example.design.pattern.behavior.command;

public class CommandPatternDemo {
    
    public static void main(String[] args) {
        Invoker invoker = new Invoker();
        Command command = new OrderCommand(new Order());
        
        invoker.addCommand(command);
        
        invoker.execute();
    }
}
